
   <?php
       /* For user login if wrong redirect to index/login */
       if($_SERVER['REQUEST_METHOD'] == "POST")
       {
          if(!$login)
          {
            ?>
            <script type="text/javascript">
               showNotification({
                            message: "Invalid username & Password, Try to login again.",
                            type: "error",
                            autoClose: true,
                            duration: 2
                        });
            </script>
            <?php
          }
       }
       
   ?>
<div class='fl-list-of-app-record-wrapper'>
  <div class="fl-option-toolbar">
      <div class="my-requests icon"></div>
      <div class="fl-toolbar-left-wrapper">
        <h1>My Requests</h1>
      </div>
      <div class="fl-toolbar-right-wrapper">
         <div class="fl-search-wrapper" style="width:250px;">
            <input type="text"  placeholder="Search your request.." class="" id="txtSearchMyRequestDatatable" style="float:right;"> 
                <input type="button" value="" class="search icon fl-search-icon-list" id="btnSearchMyRequestDatatable" style="">
          </div>
      </div>
       <div class="clearfix"></div>
    </div><!-- end of option toolbar -->
  <div class="fl-table-wrapper">

    <script type="text/javascript" src="/js/functions/user_view/my_request.js"></script>
    <table class="display_data dataTable"  id="loadMyRequestTable" style="width:100%;">
        <thead class="fl-header-tbl-wrapper">
           <tr>
              <th field_name="form_name"><span class='sortable-image' style='position:absolute'></span><span style="margin-left:10px">Form Name</span></th>
              <th field_name="TrackNo"><span class='sortable-image' style='position:absolute'></span><span style="margin-left:10px">Tracking Number</span></th>
              <th field_name="Status"><span class='sortable-image' style='position:absolute'></span><span style="margin-left:10px">Status</span></th>
              <th field_name="DateCreated"><span class='sortable-image' style='position:absolute'></span><span  style="margin-left:10px">Date Created</span></th>
           </tr>
        </thead>
        <tbody></tbody>
     </table>
  </div><!-- end of table-->
</div>